/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package models.Deck;

import models.Card.Card;
import java.util.List;

/**
 * 玩家手上的牌
 * @author Invince
 */
public class DeckPlayer extends Deck{
    /*----------Attributs-------------------*/
    /**
     * 手牌上限
     */
    protected int limit;
    /*----------Public functions------------*/
    /*----------Private functions-----------*/
    /*----------Constructor-----------------*/
    public DeckPlayer(List<Card> listCard,int limit) {
        super(listCard);
        this.limit=limit;
    }

    /*----------Gets and sets---------------*/
    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

}
